<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>C++ Web Framework: QListObject Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">C++ Web Framework
   &#160;<span id="projectnumber">3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_q_list_object-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QListObject Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_q_list_object.html" title="The QListObject class is used to pass a list of object to a view page. NOTE: Always when you need to ...">QListObject</a> class is used to pass a list of object to a view page. NOTE: Always when you need to pass a list of object to a view page you will need to use this class, your class need to inherit from the QObject class and all the methods needs to be in the public slots session.  
 <a href="class_q_list_object.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qlistobject_8h_source.html">qlistobject.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QListObject:</div>
<div class="dyncontent">
<div class="center"><img src="class_q_list_object__inherit__graph.png" border="0" usemap="#_q_list_object_inherit__map" alt="Inheritance graph"/></div>
<!-- MAP 0 -->
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a035ee9dc9f035443995b9419d32b07da"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#a035ee9dc9f035443995b9419d32b07da">QListObject</a> (QObject *parent=0)</td></tr>
<tr class="memdesc:a035ee9dc9f035443995b9419d32b07da"><td class="mdescLeft">&#160;</td><td class="mdescRight">This constructor can receive a parent.  <a href="#a035ee9dc9f035443995b9419d32b07da">More...</a><br /></td></tr>
<tr class="separator:a035ee9dc9f035443995b9419d32b07da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc9db03436b596a2f274b01a81e8931c"><td class="memItemLeft" align="right" valign="top"><a id="acc9db03436b596a2f274b01a81e8931c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#acc9db03436b596a2f274b01a81e8931c">QListObject</a> (QObject *parent, const std::initializer_list&lt; QObject *&gt; &amp;objects)</td></tr>
<tr class="memdesc:acc9db03436b596a2f274b01a81e8931c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contructs a <a class="el" href="class_q_list_object.html" title="The QListObject class is used to pass a list of object to a view page. NOTE: Always when you need to ...">QListObject</a> with N elements. <br /></td></tr>
<tr class="separator:acc9db03436b596a2f274b01a81e8931c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af05889c002163fc36f5eaf12b88363fd"><td class="memItemLeft" align="right" valign="top"><a id="af05889c002163fc36f5eaf12b88363fd"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#af05889c002163fc36f5eaf12b88363fd">QListObject</a> (const std::initializer_list&lt; QObject *&gt; &amp;objects)</td></tr>
<tr class="memdesc:af05889c002163fc36f5eaf12b88363fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contructs a <a class="el" href="class_q_list_object.html" title="The QListObject class is used to pass a list of object to a view page. NOTE: Always when you need to ...">QListObject</a> with N elements. <br /></td></tr>
<tr class="separator:af05889c002163fc36f5eaf12b88363fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01e06b1d249cf0dbe92b826fed0e7b76"><td class="memItemLeft" align="right" valign="top"><a id="a01e06b1d249cf0dbe92b826fed0e7b76"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#a01e06b1d249cf0dbe92b826fed0e7b76">~QListObject</a> ()</td></tr>
<tr class="memdesc:a01e06b1d249cf0dbe92b826fed0e7b76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a01e06b1d249cf0dbe92b826fed0e7b76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b87308d291c9699a36849e5d8bfedd4"><td class="memItemLeft" align="right" valign="top">QObject *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#a9b87308d291c9699a36849e5d8bfedd4">operator[]</a> (int index) const</td></tr>
<tr class="memdesc:a9b87308d291c9699a36849e5d8bfedd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an operator overload and returns a QObject given an specific index.  <a href="#a9b87308d291c9699a36849e5d8bfedd4">More...</a><br /></td></tr>
<tr class="separator:a9b87308d291c9699a36849e5d8bfedd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ded55097ea08fa5781240883a591216"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#a4ded55097ea08fa5781240883a591216">size</a> () const</td></tr>
<tr class="memdesc:a4ded55097ea08fa5781240883a591216"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method returns the number of elements in this <a class="el" href="class_q_list_object.html" title="The QListObject class is used to pass a list of object to a view page. NOTE: Always when you need to ...">QListObject</a>.  <a href="#a4ded55097ea08fa5781240883a591216">More...</a><br /></td></tr>
<tr class="separator:a4ded55097ea08fa5781240883a591216"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5e960eabd3e9b7d49228ea7549a9bd7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#ad5e960eabd3e9b7d49228ea7549a9bd7">add</a> (QObject *object)</td></tr>
<tr class="memdesc:ad5e960eabd3e9b7d49228ea7549a9bd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method add a new QObject to the list.  <a href="#ad5e960eabd3e9b7d49228ea7549a9bd7">More...</a><br /></td></tr>
<tr class="separator:ad5e960eabd3e9b7d49228ea7549a9bd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8114f712189da4ae507ffb4a12eec2f3"><td class="memItemLeft" align="right" valign="top"><a id="a8114f712189da4ae507ffb4a12eec2f3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#a8114f712189da4ae507ffb4a12eec2f3">add</a> (const std::initializer_list&lt; QObject *&gt; &amp;objects)</td></tr>
<tr class="memdesc:a8114f712189da4ae507ffb4a12eec2f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method add a N new QObjects to the list. <br /></td></tr>
<tr class="separator:a8114f712189da4ae507ffb4a12eec2f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6bc1883142f976bfd3e82c9d0c030bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#af6bc1883142f976bfd3e82c9d0c030bb">remove</a> (QObject *object)</td></tr>
<tr class="memdesc:af6bc1883142f976bfd3e82c9d0c030bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method remove and object from the list.  <a href="#af6bc1883142f976bfd3e82c9d0c030bb">More...</a><br /></td></tr>
<tr class="separator:af6bc1883142f976bfd3e82c9d0c030bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9d1f7e3c9f2563bcded31b02edc06fb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#ad9d1f7e3c9f2563bcded31b02edc06fb">getAutoDelete</a> () const</td></tr>
<tr class="memdesc:ad9d1f7e3c9f2563bcded31b02edc06fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">getAutoDelete  <a href="#ad9d1f7e3c9f2563bcded31b02edc06fb">More...</a><br /></td></tr>
<tr class="separator:ad9d1f7e3c9f2563bcded31b02edc06fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c30632fb46f8f7d404f77a9fea49bee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_list_object.html#a6c30632fb46f8f7d404f77a9fea49bee">setAutoDelete</a> (bool value)</td></tr>
<tr class="memdesc:a6c30632fb46f8f7d404f77a9fea49bee"><td class="mdescLeft">&#160;</td><td class="mdescRight">setAutoDelete  <a href="#a6c30632fb46f8f7d404f77a9fea49bee">More...</a><br /></td></tr>
<tr class="separator:a6c30632fb46f8f7d404f77a9fea49bee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_q_list_object.html" title="The QListObject class is used to pass a list of object to a view page. NOTE: Always when you need to ...">QListObject</a> class is used to pass a list of object to a view page. NOTE: Always when you need to pass a list of object to a view page you will need to use this class, your class need to inherit from the QObject class and all the methods needs to be in the public slots session. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a035ee9dc9f035443995b9419d32b07da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a035ee9dc9f035443995b9419d32b07da">&#9670;&nbsp;</a></span>QListObject()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QListObject::QListObject </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This constructor can receive a parent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QObject</td><td>*parent : Parent. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad5e960eabd3e9b7d49228ea7549a9bd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5e960eabd3e9b7d49228ea7549a9bd7">&#9670;&nbsp;</a></span>add()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QListObject::add </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>object</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method add a new QObject to the list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">QObject</td><td>*object : Object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad9d1f7e3c9f2563bcded31b02edc06fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9d1f7e3c9f2563bcded31b02edc06fb">&#9670;&nbsp;</a></span>getAutoDelete()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QListObject::getAutoDelete </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>getAutoDelete </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a id="a9b87308d291c9699a36849e5d8bfedd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b87308d291c9699a36849e5d8bfedd4">&#9670;&nbsp;</a></span>operator[]()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QObject* QListObject::operator[] </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This is an operator overload and returns a QObject given an specific index. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>: This is an integer value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>QObject * </dd></dl>

</div>
</div>
<a id="af6bc1883142f976bfd3e82c9d0c030bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6bc1883142f976bfd3e82c9d0c030bb">&#9670;&nbsp;</a></span>remove()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QListObject::remove </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>object</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method remove and object from the list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">o</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6c30632fb46f8f7d404f77a9fea49bee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c30632fb46f8f7d404f77a9fea49bee">&#9670;&nbsp;</a></span>setAutoDelete()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QListObject::setAutoDelete </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>setAutoDelete </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4ded55097ea08fa5781240883a591216"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ded55097ea08fa5781240883a591216">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int QListObject::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method returns the number of elements in this <a class="el" href="class_q_list_object.html" title="The QListObject class is used to pass a list of object to a view page. NOTE: Always when you need to ...">QListObject</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/herik/CPPWebFramework/CPPWebFramework/cwf/<a class="el" href="qlistobject_8h_source.html">qlistobject.h</a></li>
<li>/home/herik/CPPWebFramework/CPPWebFramework/cwf/qlistobject.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 28 2018 11:09:09 for C++ Web Framework by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
